﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>${setting.siteName} - 预约表详情</title>
    <meta name="keywords" content="${setting.siteName}">
    <meta name="description" content="${setting.siteName}">
    <!-- BEGIN HEADER -->
[#include "/admin/include/style.ftl"]
    <!-- END HEADER -->
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>预约表详情</h5>
                    <div class="ibox-tools">
                        <button type="button" class="btn btn-outline btn-white btn-xs" id="btn-return-loippi"
                                onclick="location.href='${base}/admin/subscribe/list.jhtml'"><i
                                class="fa fa-reply-all"></i> 返回列表
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <form id="inputForm" class="form-horizontal" action="update.jhtml" method="post">
                        <input type="hidden" value="${subscribe.id}"
                               name="id"/>

                                <div class="form-group">
                                    <div class="row">
                                      <div class="col-sm-6">
                                          <label class="col-sm-3 control-label">预约号</label>
                                          <div class="col-sm-9">
                                              <p class="form-control-static">${(subscribe.subscribeNu)!''}</p>
                                          </div>
                                      </div>
                                      <div class="col-sm-6">
                                          <label class="col-sm-3 control-label">
                                              科室名称</label>
                                          <div class="col-sm-9">
                                              <p class="form-control-static">${(subscribe.department.name)!''}</p>
                                          </div>
                                      </div>
                                    </div>
                                </div>
                            <!--/row-->
                                <div class="form-group">
                                    <div class="row">
                                      <div class="col-sm-6">
                                          <label class="col-sm-3 control-label">
                                              患者名称</label>
                                          <div class="col-sm-9">
                                              <p class="form-control-static">${(subscribe.patient.name)!''}</p>
                                          </div>
                                      </div>
                                      <div class="col-sm-6">
                                          <label class="col-sm-3 control-label">
                                              预约医生</label>
                                          <div class="col-sm-9">
                                              <p class="form-control-static">${(subscribe.doctor.name)!''}</p>
                                          </div>
                                      </div>
                                  </div>
                                </div>
                            <!--/row-->
                                <div class="form-group">
                                    <div class="row">
                                      <div class="col-sm-6">
                                          <label class="col-sm-3 control-label">
                                              预约时间</label>
                                          <div class="col-sm-9">
                                              <p class="form-control-static">${(subscribe.subscribeTime?string('yyyy-MM-dd'))!''}</p>
                                          </div>
                                      </div>
                                      <div class="col-sm-6">
                                          <label class="col-sm-3 control-label">
                                              支付状态</label>
                                          <div class="col-sm-9">
                                              <p class="form-control-static">${(((subscribe.payStatus)!'')==0)?string('待支付', '已支付')}</p>
                                          </div>
                                      </div>
                                    </div>
                                </div>
                            <!--/row-->
                                <div class="form-group">
                                    <div class="row">
                                      <div class="col-sm-6">
                                          <label class="col-sm-3 control-label">
                                              预约状态</label>
                                          <div class="col-sm-9">
                                              <p class="form-control-static">[#switch (subscribe.status)!'']
                                                [#case 0]
                                                  已取消
                                                  [#break]
                                                [#case 1]
                                                  待就诊
                                                  [#break]
                                                [#case 2]
                                                  进行中
                                                  [#break]
                                                [#case 3]
                                                  已完成
                                                  [#break]
                                                [#case 4]
                                                  待医生确认
                                                  [#break]
                                              [/#switch]</p>
                                          </div>
                                      </div>
                                      <div class="col-sm-6">
                                          <label class="col-sm-3 control-label">
                                              预约类型</label>
                                          <div class="col-sm-9">
                                              <p class="form-control-static">${(((subscribe.type)!'')==0)?string('首次预约', '复诊')}</p>
                                          </div>
                                      </div>
                                    </div>
                                </div>
                            <!--/row-->
                                <div class="form-group">
                                    <div class="row">
                                      <div class="col-sm-6">
                                          <label class="col-sm-3 control-label">
                                              就诊状态</label>
                                          <div class="col-sm-9">
                                              <p class="form-control-static">[#switch (subscribe.subscribeStatus)!'']
                                                [#case 0]
                                                  待就诊
                                                  [#break]
                                                [#case 1]
                                                  进行中
                                                  [#break]
                                                [#case 2]
                                                  已结束
                                                  [#break]
                                              [/#switch]</p>
                                          </div>
                                      </div>
                                      <div class="col-sm-6">
                                          <label class="col-sm-3 control-label">
                                              预约类型</label>
                                          <div class="col-sm-9">
                                              <p class="form-control-static">${(((subscribe.subscribeType)!'')==0)?string('普通', '专家')}</p>
                                          </div>
                                      </div>
                                    </div>
                                </div>
                            <!--/row-->
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <div class="col-sm-12 col-sm-offset-10">
                                <button type="button" class="btn btn-default" onclick="window.history.back();">返回
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- BEGIN Script -->
[#include "/admin/include/script.ftl"]
<!-- END Script -->
</body>
</html>
